<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<div v-if="isShow">
				账号登录
				<input type="text" name="" id="" value="" />				
			</div>
			<div v-else>
				邮箱登录
				<input type="text" name="" id="" value="" />				
			</div>
			<button type="button" @click="isShow=!isShow">切换</button>
		</div>
	</body>
	<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		const app =new Vue({
			el:'#app',
			data:{
				isShow: true
			}
		})
	</script>
</html>
